package com.gljx.web.service.impl;

import java.util.List;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.gljx.web.Entity.SkillEntry;
import com.gljx.web.dao.SkillEntryMapper;
import com.gljx.web.service.SkillEntryService;

@Service
@Transactional
public class SkillEntryServiceImpl  implements SkillEntryService{

	
	@Autowired
	private SkillEntryMapper SkillEntryMapper;
	
	
	/**
	 * 根据fid查询记录
	 * @param fid 档案表id
	 * @return
	 */
	@Override
	public List<SkillEntry> selSkillEntryByFid(String fid) {
		// TODO Auto-generated method stub
		return SkillEntryMapper.selSkillEntryByFid(fid);
	}

	/**
	 * 插入数据
	 */
	@Override
	public void insertSkillEntry(SkillEntry SkillEntry) {
		// TODO Auto-generated method stub
		SkillEntryMapper.insertSelective(SkillEntry);
	}

	@Override
	public void delSkillEntryByPid(String[] fids) {
		// TODO Auto-generated method stub
		SkillEntryMapper.delSkillEntryByPid(fids);
	}



}
